package com.neusoft.yuejian_01.base;

import com.neusoft.yuejian_01.model.Const;

import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;

/**
 * Created by Administrator on 2017/10/29.
 */

public class BaseModel {
    protected Retrofit retrofit;
    public int flag;
    public BaseModel()
    {
        retrofit = new Retrofit.Builder()
                .baseUrl(Const.BASE_URL)
                .addConverterFactory(GsonConverterFactory.create())
                .build();
    }
}
